package com.example.demo.pattern.single;

/**
 * 饿汉单例
 *
 * @author wangadmin
 */
public class SingleByHungryMan {


    private static SingleByHungryMan SingleByHungryMan = new SingleByHungryMan();


    public static SingleByHungryMan getSingleInstance() {
        return SingleByHungryMan;
    }

}
